<include file="Public:searchBar" />
<div class="pageContent">
    <include file="Public:panelBar" />
    <table class="table" width="100%" layoutH="112">
        <thead>
            <tr>
                <th width="60">
                    订单号 
                </th>
                <th width="50">
                    订单状态
                </th>
                <th width="100">
                    订单完成时间 
                </th>
                <th width="80">
                    下单会员 
                </th>
                <th width="80">
                    总金额
                </th>
                <th width="80">
                   佣金会员
                </th>
                <th width="50">
                    佣率(%) 
                </th>
                <th width="50">
                    佣金 
                </th>
                <th width="120">
                    操作
                </th>
            </tr>
        </thead>
        <tbody>
            <volist name="datalist" id="vo">
                <tr target="sid_user" rel="{$vo['id']}">
                    <td>
                        {$vo['orderform_code']}
                    </td>
					<td>
						<eq name="vo.orderform_ok" value="1">
							交易成功
							<else/>
							未完成
						</eq>
                    </td>
                    <td>
                        <eq name="vo['orderform_ok']" value="1">
                            {$vo.orderform_over|date='Y-m-d H:i:s',###}<else/>-
                        </eq>
                    </td>
                    <td>
                        {$vo.member_name}
                    </td>
                    <td>
                        {$vo.orderform_fee}
                    </td>
                    
                    <td>
                        {$vo.dmember_name}
                    </td>
                    <td>
                        {$vo.rate}
                    </td>
                    <td>
                        <eq name="vo['orderform_ok']" value="1">
                            {$vo.fee}<else/>-
                        </eq>
                    </td>
                    <td>
                    	<a href="{:U('Orderform/view?orderform_id='.$vo['orderform_id'])}" class="tbutton" title="订单:{$vo[$mpk]}" target="navTab">查看订单</a>
                    </td>
                </tr>
            </volist>
        </tbody>
    </table>
    <include file="Public:pageBar" />
</div>